@file:OptIn(ExperimentalUuidApi::class)

package com.harth.blemultiplatform.ble

import no.nordicsemi.kotlin.ble.client.RemoteService
import kotlin.uuid.ExperimentalUuidApi
import kotlin.uuid.Uuid

class NativeService(val service: RemoteService, override val peripheral: IPeripheral) : IService{
    override val uuid: Uuid
        get() = service.uuid

    override val characteristics: List<ICharacteristic>
        get() = service.characteristics.map { characteristic -> NativeCharacteristic( this,characteristic) }

    override val isPrimary: Boolean = false
}